package com.wanmait.gohome.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

        public class Userinfo implements Serializable {
            private Integer id;
        /**
	* 用户名
	*/
    private String username;

    /**
	* 用户密码
	*/
    private String userpass;

    /**
	* 真实姓名
	*/
    private String name;

    /**
	* 手机
	*/
    private String phone;

    /**
	* 注册时间
	*/
    private Date registerTime;

    /**
	* 最近登录时间
	*/
    private Date lastLoginTime;

    /**
	* 最近登录ip
	*/
    private String ip;

    /**
	* 登录次数
	*/
    private Integer loginCount;

    /**
	* 身份证
	*/
    private String idCard;

    /**
	* 身份证正面图片
	*/
    private String idCardPic;

    /**
	* 地址
	*/
    private String address;

    /**
	* 邮箱
	*/
    private String email;

    /**
	* QQ
	*/
    private String qq;

    /**
	* 头像
	*/
    private String pic;

    /**
	* 出生日期
	*/
    private String birthday;

    /**
	* 信用总积分
	*/
    private Integer credit;

    /**
	* 微信
	*/
    private String wechat;

    /**
	* 性别
	*/
    private String sex;

    /**
	* 介绍
	*/
    private String info;

    /**
	* 个性签名
	*/
    private String remark;

    /**
	* 关联角色表id
	*/
    private Integer roleId;

    /**
	* 关联职业表的id
	*/
    private Integer professionId;

    /**
	* 是否志愿者，0-不是，1-是
	*/
    private Boolean volunteer;

    /**
	* 发布日志数量
	*/
    private Integer journalCount;

    /**
     * 申请成为志愿者
     */
    private Boolean volunteerApply;

    /**
     * 删除志愿者原因
     */
    private String deleteReason;

    private Area area;
    /*
    志愿者申请时间
     */
    private Timestamp applyTime;

    public Timestamp getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Timestamp applyTime) {
        this.applyTime = applyTime;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    private Profession profession;

    public Profession getProfession() {
        return profession;
    }

    public void setProfession(Profession profession) {
        this.profession = profession;
    }

    /**
     * 发布任务数量
     * @return
     */
    private Integer taskCount;

    /**
     * 身份证背面图片
     * @return
     */
    private String idCardVerso;

    /**
     * 省份id
     * @return
     */
    private Integer provinceId;

    /**
     * 城市id
     * @return
     */
    private Integer cityId;

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getIdCardVerso() {
        return idCardVerso;
    }

    public void setIdCardVerso(String idCardVerso) {
        this.idCardVerso = idCardVerso;
    }

    public Integer getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(Integer taskCount) {
        this.taskCount = taskCount;
    }

    public String getDeleteReason() {
        return deleteReason;
    }

    public void setDeleteReason(String deleteReason) {
        this.deleteReason = deleteReason;
    }

    /**
	* 完成任务数量
	*/
    private Integer finishTaskCount;

    /**
	* 关联地区id
	*/
    private Integer areaId;

    public Boolean getMark() {
        return mark;
    }

    public void setMark(Boolean mark) {
        this.mark = mark;
    }

    /**
     状态
     * **/
    private Boolean mark;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpass() {
        return userpass;
    }

    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCardPic() {
        return idCardPic;
    }

    public void setIdCardPic(String idCardPic) {
        this.idCardPic = idCardPic;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getProfessionId() {
        return professionId;
    }

    public void setProfessionId(Integer professionId) {
        this.professionId = professionId;
    }

    public Boolean getVolunteer() {
        return volunteer;
    }

    public void setVolunteer(Boolean volunteer) {
        this.volunteer = volunteer;
    }

    public Integer getJournalCount() {
        return journalCount;
    }

    public void setJournalCount(Integer journalCount) {
        this.journalCount = journalCount;
    }

    public Integer getFinishTaskCount() {
        return finishTaskCount;
    }

    public void setFinishTaskCount(Integer finishTaskCount) {
        this.finishTaskCount = finishTaskCount;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Boolean getVolunteerApply() {
        return volunteerApply;
    }

    public void setVolunteerApply(Boolean volunteerApply) {
        this.volunteerApply = volunteerApply;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", userpass=").append(userpass);
        sb.append(", name=").append(name);
        sb.append(", phone=").append(phone);
        sb.append(", registerTime=").append(registerTime);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", ip=").append(ip);
        sb.append(", loginCount=").append(loginCount);
        sb.append(", idCard=").append(idCard);
        sb.append(", idCardPic=").append(idCardPic);
        sb.append(", address=").append(address);
        sb.append(", email=").append(email);
        sb.append(", qq=").append(qq);
        sb.append(", pic=").append(pic);
        sb.append(", birthday=").append(birthday);
        sb.append(", credit=").append(credit);
        sb.append(", wechat=").append(wechat);
        sb.append(", sex=").append(sex);
        sb.append(", info=").append(info);
        sb.append(", remark=").append(remark);
        sb.append(", roleId=").append(roleId);
        sb.append(", professionId=").append(professionId);
        sb.append(", volunteer=").append(volunteer);
        sb.append(", journalCount=").append(journalCount);
        sb.append(", finishTaskCount=").append(finishTaskCount);
        sb.append(", areaId=").append(areaId);
        sb.append(", enable=").append(enable);
        sb.append(", mark=").append(mark);
        sb.append(", volunteerApply=").append(volunteerApply);
        sb.append(",deleteReason=").append(deleteReason);
        sb.append(",taskCount=").append(taskCount);
        sb.append(",idCardVerso=").append(idCardVerso);
        sb.append(",provinceId=").append(provinceId);
        sb.append(",cityId=").append(cityId);
        sb.append("]");
        return sb.toString();
    }
}